import Layout from '@/page/index/'
export default [{
    path: '/wel',
    component: Layout,
  redirect: '/wel/index',
    children: [{
        path: 'index',
        name: '首页',
        meta: {
            i18n: 'dashboard'
        },
        component: () =>
            import( /* webpackChunkName: "views" */ '@/views/wel')
    }]
}, {
    path: '/test',
    component: Layout,
    redirect: '/test/index',
    children: [{
        path: 'index',
        name: '测试页',
        meta: {
            i18n: 'test'
        },
        component: () =>
            import( /* webpackChunkName: "views" */ '@/views/util/test')
    }]
},
{
    path: '/orderdetail',
    component: Layout,
    redirect: '/orderdetail/index',
    children: [{
        path: 'index',
        name: '详情',
        meta: {
            i18n: 'orderdetail'
        },
        component: () =>
            import( /* webpackChunkName: "views" */ '@/components/order-detail/orderdetail')
    }]
},
{
    path: '/viewOrdInfor',
    component: Layout,
    redirect: '/viewOrdInfor/index',
    children: [{
        path: 'index',
        name: '查看订单',
        meta: {
            i18n: 'viewOrdInfor'
        },
        component: () =>
            import( /* webpackChunkName: "views" */ '@/components/order-detail/viewOrdInfor')
    }]
},
{
    path: '/SMSrecord',
    component: Layout,
    redirect: '/SMSrecord/index',
    children: [{
        path: 'index',
        name: '短信记录',
        meta: {
            i18n: 'viewOrdInfor'
        },
        component: () =>
            import( /* webpackChunkName: "views" */ '@/components/order-detail/SMSrecord')
    }]
},
// {
//     path: '/orderdetail',
//     name: '详情',
//     component: () =>
//         import( /* webpackChunkName: "page" */ '@/components/order-detail/orderdetail'),
//     meta: {
//         keepAlive: true,
//         isTab: false,
//         isAuth: false
//     }
// },
{
    path: '/info',
    component: Layout,
    redirect: '/info/index',
    children: [{
        path: 'index',
        name: '个人信息',
        meta: {
            i18n: 'info'
        },
        component: () =>
            import( /* webpackChunkName: "views" */ '@/views/user/info')
    }]
}]
